#pragma once

#include "../core/Core.h"
#include "../utils/QtUtil.h"
#include "MainStatusBarManager.h"
#include <includeBase.h>

class CustomGraphicsView : public QGraphicsView
{
    Q_OBJECT
public:
    explicit CustomGraphicsView(QWidget* parent = nullptr);

protected:
    void mousePressEvent(QMouseEvent* event) override;
    void mouseMoveEvent(QMouseEvent* event) override;
    void mouseReleaseEvent(QMouseEvent* event) override;

private:
    QPen m_pen;
    QPointF m_startPoint;
    QPointF m_endPoint;
};
